Skip to content

Reject duplicate explicit TimeSeries signal names - #3968

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/sysid-duplicate-signals
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/sysid-duplicate-signals

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown
Contributor

Check for duplicate keys before assigning explicit custom or model-resolved signal mappings. Model-based validation uses the resolved canonical name, so aliases cannot silently overwrite one another. Automatic discovery behaviour is unchanged.

Validation

  • Both regression cases failed before the fix and passed afterward.
  • All 28 tests in the TimeSeries test file passed against the edited source and native MuJoCo 4.0.1 on macOS ARM64.
  • git diff --check passes.
  • The broader sysid suite was not run.

Fixes #3967.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TimeSeries explicit signal mappings silently overwrite duplicate names

1 participant